﻿namespace Compass.Wasm.Shared.Plans;
/// <summary>
/// 装箱清单信息
/// </summary>
public class PackingListDto:BaseDto
{
    #region 基本信息
    //装箱清单产品类型
    private Product_e product;
    public Product_e Product { get => product; set { product = value; OnPropertyChanged(); } }
    //包装形式
    private string packingType;
    public string PackingType { get => packingType; set { packingType = value; OnPropertyChanged(); } }
    //发货形式 
    private string deliveryType;
    public string DeliveryType { get => deliveryType; set { deliveryType = value; OnPropertyChanged(); } }
    //天花烟罩时，需要填写总装地址
    private string? assyPath;
    public string? AssyPath { get=>assyPath; set { assyPath = value;OnPropertyChanged(); } }
    #endregion

    #region 扩展查询
    //查询到计划信息
    private string? odpNumber;
    public string? OdpNumber { get => odpNumber; set { odpNumber = value; OnPropertyChanged(); } }
    private string? projectName;
    public string? ProjectName { get => projectName; set { projectName = value; OnPropertyChanged(); } }

    private int? batch;
    public int? Batch { get => batch; set { batch = value;OnPropertyChanged(); } }//分批
    //todo：真的需要吗？项目Id
    private Guid? projectId;
    public Guid? ProjectId { get => projectId; set { projectId = value; OnPropertyChanged(); } }
    
    private DateTime finishTime;
    public DateTime FinishTime { get=>finishTime; set { finishTime = value;OnPropertyChanged(); } }

    //是否创建了订单
    private bool havePackingList;
    public bool HavePackingList { get => havePackingList; set { havePackingList=value; OnPropertyChanged(); } }//是否有托盘
    //是否包含托盘
    private bool havePallet;
    public bool HavePallet { get => havePallet; set { havePallet = value; OnPropertyChanged(); } }
    
    #endregion
}